package dao;

import pojo.Dept;
import java.util.List;
public interface DeptDao {
    List<Dept> findAll(Dept dept);
    int addDept(Dept dept);

    int deleteDeptById(Integer id);

    Dept findById(Integer id);

    int updateDept(Dept dept);

}
